<?php

  require_once "JooS/Server/Controller/File.php";

  class JooS_Server_Controller_File_Xsl extends JooS_Server_Controller_File {
    protected function getFileContent($fileName) {
      require_once "JooS/Server/Stream/Xsl.php";
      $xsl = file_get_contents(JooS_Server_Stream_Xsl::STREAM_PROTOCOL . "://" . $fileName);

      require_once "JooS/File/Content.php";
      $xslContent = new JooS_File_Content("application/xml");
      $xslContent->setValue($xsl);

      return $xslContent;
    } 
  }

?>